package com.guchenbo.example.httpclient;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author gucb
 * @Date 2017/5/19.
 */
public class HeaderModel {

    private List<CookieModel> cookies = new ArrayList();

    public void addCookie(String name, String value) {
        cookies.add(CookieModel.build(name, value));
    }

    public List<CookieModel> getCookies() {
        return cookies;
    }

    public void setCookies(List<CookieModel> cookies) {
        this.cookies = cookies;
    }
}
